<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>盘盈盘亏管理</title>
<link rel="stylesheet" type="text/css"
	href="ui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="ui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="css/table.css">
<script type="text/javascript" src="ui/jquery.min.js"></script>
<script type="text/javascript" src="ui/request.js"></script>
<script type="text/javascript" src="ui/date.js"></script>
<script type="text/javascript" src="ui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="ui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="ui/jquery.serializejson.min.js"></script>
<script type="text/javascript" src="js/inventory.js"></script>
</head>
<body>
	<div class="easyui-panel"
		style="padding-left: 4px; border-bottom: 0px;">
		<div style="height: 2px;"></div>
		<form id="searchForm">
			登记日期：<input name="t1.createtime" class="easyui-datebox"> - <input
				name="t2.createtime" class="easyui-datebox"> 审核日期：<input
				name="t1.checktime" class="easyui-datebox"> - <input
				name="t2.checktime" class="easyui-datebox"> 类型： <input
				name="t1.type" type="radio" value="">全部 <input
				name="t1.type" type="radio" value="1">盘盈 <input
				name="t1.type" type="radio" value="2">盘亏
			<button type="button" id="btnSearch">查询</button>
		</form>
		<div style="height: 2px;"></div>
	</div>
	<table id="grid"></table>
	<table id="addgrid"></table>

	<div id="editDlg">
		<form id="editForm">
			<input name="t.uuid" type="hidden">

			<table>
				<tr>
					<td>商品</td>
					<td><input name="t.goodsuuid" class="easyui-combobox"
						data-options="url:'goods_list.action',valueField:'uuid',textField:'name'">
					</td>
				</tr>

				<tr>
					<td>仓库</td>
					<td><input name="t.storeuuid" class="easyui-combobox"
						data-options="url:'store_list.action',valueField:'uuid',textField:'name'">
					</td>
				</tr>

				<tr>
					<td>数量</td>
					<td><input name="t.num"></td>
				</tr>

				<tr>
					<td>类型</td>
					<td><input name="t.type" type="radio" value="1">盘盈 <input
						name="t.type" type="radio" value="2">盘亏</td>
				</tr>
				<tr>
					<td>备注</td>
					<td><input name="t.remark"></td>
				</tr>

			</table>
			<button id="btnSave" type="button">保存</button>
		</form>
	</div>

	<!-- 审核的窗口 -->
	<div id="examineDlg">
		<form action="examineForm">
			<table class="hovertable">
				<tr>
					<td class="bg" width="40%">编号</td>
					<td id="uuid"></td>
				</tr>
				<tr>
					<td class="bg">登记日期</td>
					<td id="createtime"></td>
				</tr>
				<tr>
					<td class="bg">商品</td>
					<td id="goodsuuid"></td>
				</tr>
				<tr>
					<td class="bg">仓库</td>
					<td id="storeuuid"></td>
				</tr>
				<tr>
					<td class="bg">数量</td>
					<td id="num"></td>
				</tr>
				<tr>
					<td class="bg">类型</td>
					<td id="type"></td>
				</tr>
				<tr>
					<td class="bg">备注</td>
					<td id="remark"></td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>
